//package org.jeecg.modules.system.aspect;
//
//import org.aspectj.lang.ProceedingJoinPoint;
//import org.aspectj.lang.annotation.Around;
//import org.aspectj.lang.annotation.Aspect;
//import org.aspectj.lang.annotation.Pointcut;
//import org.slf4j.Logger;
//import org.slf4j.LoggerFactory;
//import org.springframework.stereotype.Component;
//
//import java.lang.reflect.Method;
//
//@Aspect
//@Component
//public class DatalogAspect {
//    private static final Logger logger = LoggerFactory.getLogger(DatalogAspect.class);
//
//    //&& !execution(public * com.yami.infrastructure.repository.mapper.ActionMapper.insert*(..))
//    @Pointcut("execution(public * org.jeecg.modules..mapper.*.ins*(..))")
//    public void insert(){
//    }
//
//    @Pointcut("execution(public * org.jeecg.modules..mapper.*.upd*(..))")
//    public void update(){
//    }
//
//    @Pointcut("execution(public * org.jeecg.modules..mapper.*.del*(..))")
//    public void delete(){
//    }
//
//    @Pointcut("execution(public * org.jeecg.modules..mapper.*.query*(..))")
//    public void query(){
//    }
//
//    @Around("insert() || update() || delete()")
//    public Object addOperateLog(ProceedingJoinPoint pjp) throws Throwable {
//        System.out.println(pjp);
//        return null;
//    }
//}